const { http } = uni.$u;
const api = "https://im.pltrue.top/api"
// 获取菜单
export const fetchMenu = (params, config = {}) => http.post('/ebapi/public_api/index', params, config)
// 用户登录
export const Login = (params,config={}) => http.post(api+"/login",params, config)